public class Function {
    public static double  pingjun(double a,double b,double c) {
        return (a+b+c)/3;
    }
    public static void main(String[] args) {
        double result=pingjun(2,3,4);
        System.out.println("result="+result);
    }
}